﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NLBS.Entity" assembly="NLBS.Entity">
  <class name="TrackBack" table="blog_Trackback">
    <id name="ID" column="tb_id" type="Int32">
      <generator class="native" />
    </id>
    <property name="LogID" column="log_id" type="Int32" />
    <property name="Url" column="tb_url" type="String" />
    <property name="Title" column="tb_title" type="String" />
    <property name="BlogName" column="tb_blog" type="String" />
    <property name="Excerpt" column="tb_excerpt" type="String" />
    <property name="Time" column="tb_time" type="DateTime" />
    <property name="IP" column="tb_ip" type="String" />
    
    <many-to-one name="Article" class="Article" insert="false" update="false" column="log_id"></many-to-one> 
    
  </class>
</hibernate-mapping>